<html>
<body>

<h1> Cankids Donor DB Submission Page </h1>
<hr />

<?php

$con = mysql_connect("localhost:3306","root","");
if(!$con)
{
die("Could not connect: " . mysql_error());
}
mysql_select_db("cankidsdonordb_production");
mysql_query("INSERT INTO users (email,first_name,last_name)
VALUES ('$_POST[email]','$_POST[fname]','$_POST[lname]')");

echo "1 record added";

?>

</body>
</html>